﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AfterExternalPayment.aspx.cs" Inherits="NewGui.std.AfterExternalPayment" %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="ScsAspNet" Namespace="Syrinx.Gui.AspNet" TagPrefix="syx" %>
<%@ Register Assembly="ScsAspNet" Namespace="Syrinx.Gui.AspNet.Ajax" TagPrefix="saj" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
<%@ Register Assembly="ScsAspNet" Namespace="Articles.Gui.AspNet" TagPrefix="art" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <%--
		This page should never be visible to the end user.  It is the navigation point after an external navigation to a payment processing
		where the next step in the processing wizard can be figured out.  The first external navigation for payment is for paypal express
		check out where the user navigates to paypal and then paypal navigates back here to continue the check out process on our site.
    --%>
	<swf:BizProc ID="orderBP" runat="server" FactoryName="eComSalesOrder">
	</swf:BizProc>
	<swf:BizProc runat="server" ID="checkout" FactoryName="prodWizCheckOut">
		<State initialCheckoutView="$CmpSetting(sitePath)$/std/CheckOut.aspx"
			   finalCheckoutView="$CmpSetting(sitePath)$/std/CheckOutComplete.aspx"
			   noChargeInitialCheckoutView=""
			   noChargeFinalCheckoutView="" />
		<ParentBizProc id="orderBP" fieldName="id" dataId="pid" />
		<ParentBizProc id="orderBP" dataId="orderInfo" />
	</swf:BizProc>
    <swf:BizProc ID="payment" runat="server" FactoryName="salesOrderPaymentWizard" >
		<ParentBizProc id="orderBP" dataId="orderInfo" />
		<ParentBizProc id="checkout" dataId="info" />
		<ParentBizProc id="orderBP" fieldName="id" dataId="pid" cacheValue="false" />
	</swf:BizProc>
    <swf:BizProc ID="paypal" runat="server" FactoryName="paypalExpress" >
		<ParentBizProc id="orderBP" dataId="order" />
		<ParentBizProc id="checkout" dataId="info" />
	</swf:BizProc>	
    </form>
</body>
</html>
